<script setup lang="ts">
const props = defineProps({
  imgUrl: {
    type: String,
    default: "",
    required: true,
  },
});
</script>

<template>
  <img class="show-images" :src="`data:image/png;base64,${imgUrl}`" v-show="imgUrl" />
  <img class="show-images" src="../../assets/images/image.png" v-show="!imgUrl" />
</template>

<style scoped>
.show-images {
  width: 100%;
  max-height: 750px;
  display: block;
}
</style>
